package com.jinsi.mapper.tang;

import com.jinsi.pojo.Examine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 审核商品详情列表
 * @author 唐文博
 * @Date 2022-08-10
 */
@Mapper
public interface ExamineMapper {
    /**
     * 查看表，全查
     * @param commodityId
     * @return
     */
    public List<Examine> getExamineCx(Integer commodityId);

    /**
     * 点击按钮添加查看审核日志 添加审核日志
     * @param examinePersonnel
     * @param examineResult
     * @param feedbackdetails
     * @param journalCommodity
     * @return
     */
    public int addCkExamine(@Param("examinePersonnel") String examinePersonnel,
                            @Param("examineResult") String examineResult,
                            @Param("feedbackdetails") String feedbackdetails,
                            @Param("journalCommodity") int journalCommodity,
                            @Param("examineDate")Date examineDate);
}
